@charset "utf-8";

/*!
 * Created by Toma on 2016-6-13 09:31:30
 * 买益海嘉里抽现金红包
 */

$theme: #00a0cb;
$red: #e60012;

@import "toma";
@include reset();
@import "mdater";

/* common */
%com-bg{
  background-color: $theme;
  background-repeat:no-repeat;
  background-position: top center;
  -webkit-background-size: 100% auto;
  background-size: 100% auto;
}

.common{
  background-image: url("../img/banner.jpg");
  padding-top:62%;
  @extend %com-bg;
}
.container{
  margin: 0 .75rem;
  margin-bottom: .75rem;
}
.btn{
  font-size: 0.9rem;
  color: #fff;
  background-color: $red;
  padding: 0.35rem 1.2rem;
  border-radius: 1.8rem;
  border: none;
  outline: none !important;
}

/* 起始页 */
.start{
  background-image: url("../img/bg.jpg");
  padding-top:112%;
  @extend %com-bg;
}
.start-con{
  font-size:0.75rem;
  color: #fff;
  text-align: center;
  margin-bottom: 1rem;
  strong{
    font-size: 1.3rem;
    vertical-align:middle;
    color: $red;
  }
}
.start-caption{
  padding-top:1.5rem;
  padding-bottom:0.75rem;
  p{
    font-size:0.7rem;
    line-height:1.5;
    color: #323232;
  }
}

/* 上传小票页面 */
.input-group{
  margin-bottom: 0.75rem;
  font-size:0.85rem;
  .input-label{
    display: inline-block;
    width: 4.5rem;
    vertical-align: middle;
    color: #fff;
    text-align: right;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .input-control{
    width: 12.3rem;
    height: 1.7rem;
    border: none;
    border-radius: 1.7rem;
    padding-left: .75rem;
    font-size:0.8rem;
    background-color: #fff;
    outline: none;
  }
}
.arrow{
  background-image: url(../img/arrow.jpg);
  background-repeat:no-repeat;
  background-position: right 50%;
  -webkit-background-size: 1.85rem 1.65rem;
  background-size: 1.85rem 1.65rem;
}
.min-caption{
  display: block;
  font-size:0.55rem;
  line-height: 1.8;
  color: #fff;
}
.btn-group{
  text-align: center;
}
.btn-link{
  color: #fff;
  font-size: 0.75rem;
  margin-bottom: 0.6rem;
  margin-top: 0.25rem;
  text-decoration: underline;
  float: right;
}
/* 弹框 */
.pop{
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 80;
  .pop-mask{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.8);
  }
  .pop-content{
    position: relative;
    width: 100%;
    height: 100%;
    overflow: scroll;
  }
  .pop-content img{
    position: absolute;
    width: 96%;
    left: 2%;
    top: 3%;
    margin-bottom: .5rem;
    z-index: 90;
  }
  .close{
    display: block;
    position: absolute;
    top: 27rem;
    left: 50%;
    width: 6.5rem;
    height: 1.6rem;
    margin-left: -3.25rem;
    //background-color: #fff;
    z-index: 100;
  }
}

/* 审核页面 */
.check-con{
  position: relative;
  border-radius: .3rem;
  background-color: #fff;
  min-height:9.3rem;
  padding: 0.75rem;
  margin-bottom: 1.25rem;
}
.progress{
  position: relative;
  height: 0.6rem;
  border-radius: 0.6rem;
  border: 1px solid #e60012;
  overflow: hidden;

  .before{
    display: block;
    height: 100%;
    width: 1%;
    background-image: url(../img/round.jpg);
    background-repeat: repeat-x;
    -webkit-background-size: auto 100%;
    background-size: auto 100%;
  }
  .after{
    margin-left: 0.1rem;
    position: absolute;
    top: -2px;
    left: 1%;
    font-size: 0.5rem;
  }
}
.info-con{
  margin:0.75rem 0;
  p{
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    line-height:1.4;
  }
}
/* 开奖 */
.check-tit{
  position: absolute;
  top: -2.3rem;
  left: 0;
  padding: 0 0.75rem;
  img{
    width: 100%;
  }
}
.lottery{
  margin-top: 2.3rem;
  padding-top: 2.3rem;
  font-size: 0.7rem;
}
.userlist{
  padding-top: 0.5rem;
  font-size:0;
  margin-right: -0.5rem;
  .userhead{
    display: inline-block;
    width: 2.2rem;
    height: 2.2rem;
    background-color: gray;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    span{
      display: block;
      width: 100%;
      height: 100%;
      -webkit-background-size: cover;
      background-size: cover;
    }
  }
}
.linkbox{
  text-align: right;
  .gray-link{
    color: #333;
    background: transparent;
    border:none;
    text-decoration: underline;
    outline: none !important;
  }
}

/* loading */
.loadingbox{
  height: 20px;
  text-align: center;
}
.loading{
  display: inline-block;
  width: .7rem;
  height: .7rem;
  background-image: url(../img/spinner.png);
  -webkit-background-size: cover;
  background-size: cover;
  vertical-align: middle;
  margin-right: .25rem;
}
.loading{
  @include animation(rotate 3s linear infinite);
}
@-webkit-keyframes rotate{
  0%{ -webkit-transform: rotate3D(0,0,1,0deg);}
  50%{ -webkit-transform: rotate3D(0,0,1,-180deg);}
  100%{ -webkit-transform: rotate3D(0,0,1,-359deg);}
}
@keyframes rotate{
  0%{ transform: rotate3D(0,0,1,0deg);}
  50%{ transform: rotate3D(0,0,1,-180deg);}
  100%{ transform: rotate3D(0,0,1,-359.99deg);}
}

/* 控制 */
.no-m{
  margin-bottom: 0 !important;
}
